package com.dsr.dao;

import com.dsr.entity.Shop;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * (Shop)表数据库访问层
 *
 * @author dsr
 * @since 2020-10-08
 */
public interface ShopDao extends Mapper<Shop> {

    Shop queryIsExist(@Param("userId") String userId, @Param("flowerId") String flowerId);
    List<Shop> queryShops(@Param("userId") String userId);
}